package cn.iocoder.devlop.module.annual.report.marpripinfo.convert;

import cn.iocoder.devlop.framework.common.pojo.PageResult;
import cn.iocoder.devlop.module.annual.report.marpripinfo.controller.vo.MarpripinfoBaseVO;
import cn.iocoder.devlop.module.annual.report.marpripinfo.controller.vo.MarpripinfoExcelVO;
import cn.iocoder.devlop.module.annual.report.marpripinfo.controller.vo.MarpripinfoRespVO;
import cn.iocoder.devlop.module.annual.report.marpripinfo.dal.dataobject.MarpripinfoDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 企业基本信息 Convert
 *
 * @author sunhao
 */
@Mapper
public interface MarpripinfoConvert {

    MarpripinfoConvert INSTANCE = Mappers.getMapper(MarpripinfoConvert.class);

    MarpripinfoDO convert(MarpripinfoBaseVO bean);

    MarpripinfoRespVO convert(MarpripinfoDO bean);

    List<MarpripinfoRespVO> convertList(List<MarpripinfoDO> list);

    PageResult<MarpripinfoRespVO> convertPage(PageResult<MarpripinfoDO> page);

    List<MarpripinfoExcelVO> convertList02(List<MarpripinfoDO> list);

}
